package com.young.springdemo.utils;

import java.util.ArrayList;
import java.util.List;

public class Teacher {
    private String teacherName;
    private String teacherLabel;
    private Double teacherSalary;
    private String teacherDate;

    public Teacher() {
    }

    public Teacher(String teacherName, String teacherLabel, Double teacherSalary, String teacherDate) {
        this.teacherName = teacherName;
        this.teacherLabel = teacherLabel;
        this.teacherSalary = teacherSalary;
        this.teacherDate = teacherDate;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherLabel() {
        return teacherLabel;
    }

    public void setTeacherLabel(String teacherLabel) {
        this.teacherLabel = teacherLabel;
    }

    public Double getTeacherSalary() {
        return teacherSalary;
    }

    public void setTeacherSalary(Double teacherSalary) {
        this.teacherSalary = teacherSalary;
    }

    public String getTeacherDate() {
        return teacherDate;
    }

    public void setTeacherDate(String teacherDate) {
        this.teacherDate = teacherDate;
    }


    public static void main(String[] args) {
        List<String> result= new ArrayList<>();
        result.add("a");
        result.add("b");
        result.subList(0,1);
//        result.subList(0,6);
//        result.subList(5,6);
        result.subList(0,0);
    }
}
